//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.peanut.huibutie.common;

public class BizException extends RuntimeException {
    private static final long serialVersionUID = -449021693040291621L;
    private final String code;

    private BizException(String code, String msg) {
        super(msg, (Throwable)null, true, false);
        this.code = code;
    }

    public static BizException build(String code, String msg) {
        return new BizException(code, msg);
    }

    public static BizException build(String msg) {
        return new BizException("", msg);
    }

    public String getCode() {
        return this.code;
    }
}
